<?php

class connectionDb
{
    public function connectDB ()
    {
        //Connection to the db via adapter
        $connParams = array("host" => "localhost", "username" => "root", 
        					"password" => "", "dbname" => "medadvisor");
        $db = new Zend_Db_Adapter_Pdo_Mysql($connParams);
        return $db;
    }
}